.class Lcom/estrongs/android/pop/app/diskusage/c$c;
.super Ljava/lang/Thread;
.source "DiskUsageGridViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/diskusage/c;->d(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/util/List;

.field final synthetic b:Lcom/estrongs/android/pop/app/diskusage/c;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/diskusage/c;Ljava/lang/String;Ljava/util/List;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    iput-object p3, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->a:Ljava/util/List;

    invoke-direct {p0, p2}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .line 1
    new-instance v0, Lcom/estrongs/android/view/v;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->i(Lcom/estrongs/android/pop/app/diskusage/c;)Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I

    move-result v2

    invoke-direct {v0, v1, v2}, Lcom/estrongs/android/view/v;-><init>(Ljava/lang/String;I)V

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->i(Lcom/estrongs/android/pop/app/diskusage/c;)Ljava/io/File;

    move-result-object v1

    new-instance v2, Lcom/estrongs/android/pop/app/diskusage/c$c$a;

    invoke-direct {v2, p0, v0}, Lcom/estrongs/android/pop/app/diskusage/c$c$a;-><init>(Lcom/estrongs/android/pop/app/diskusage/c$c;Lcom/estrongs/android/view/v;)V

    invoke-virtual {v1, v2}, Ljava/io/File;->listFiles(Ljava/io/FileFilter;)[Ljava/io/File;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 3
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->j(Lcom/estrongs/android/pop/app/diskusage/c;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1
    :try_end_0
    .catch Ljava/lang/OutOfMemoryError; {:try_start_0 .. :try_end_0} :catch_0

    .line 4
    :try_start_1
    iget-object v2, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    new-instance v3, Lcom/estrongs/android/pop/app/diskusage/b;

    iget-object v4, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-virtual {v4}, Lcom/estrongs/android/view/h0;->h()Landroid/app/Activity;

    move-result-object v4

    invoke-direct {v3, v4}, Lcom/estrongs/android/pop/app/diskusage/b;-><init>(Landroid/content/ContextWrapper;)V

    invoke-static {v2, v3}, Lcom/estrongs/android/pop/app/diskusage/c;->a(Lcom/estrongs/android/pop/app/diskusage/c;Lcom/estrongs/android/pop/app/diskusage/b;)Lcom/estrongs/android/pop/app/diskusage/b;

    .line 5
    monitor-exit v1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 6
    :try_start_2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->l(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v1

    iget-object v1, v1, Lcom/estrongs/android/pop/app/diskusage/b;->k:Ljava/util/Map;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/diskusage/c;->c(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v2

    iget-object v2, v2, Lcom/estrongs/android/pop/app/diskusage/b;->k:Ljava/util/Map;

    invoke-interface {v1, v2}, Ljava/util/Map;->putAll(Ljava/util/Map;)V

    .line 7
    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->l(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/diskusage/c;->g1:Lcom/estrongs/fs/util/d$a;

    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/app/diskusage/b;->a(Lcom/estrongs/fs/util/d$a;)V

    .line 8
    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->l(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/diskusage/c;->m(Lcom/estrongs/android/pop/app/diskusage/c;)J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/pop/app/diskusage/b;->b(J)V

    .line 9
    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->l(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/diskusage/c;->a(Lcom/estrongs/android/pop/app/diskusage/c;)J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/pop/app/diskusage/b;->a(J)V

    .line 10
    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->l(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/app/diskusage/b;->a([Ljava/io/File;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/diskusage/c;->l1:Ljava/lang/String;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/diskusage/c;->i(Lcom/estrongs/android/pop/app/diskusage/c;)Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->n(Lcom/estrongs/android/pop/app/diskusage/c;)Ljava/util/HashMap;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/diskusage/c;->l1:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    .line 13
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->l(Lcom/estrongs/android/pop/app/diskusage/c;)Lcom/estrongs/android/pop/app/diskusage/b;

    move-result-object v0

    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/l;->m0()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/diskusage/b;->c(I)V

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->o(Lcom/estrongs/android/pop/app/diskusage/c;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 15
    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->p(Lcom/estrongs/android/pop/app/diskusage/c;)V

    .line 16
    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->I(Lcom/estrongs/android/pop/app/diskusage/c;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_2
    .catch Ljava/lang/OutOfMemoryError; {:try_start_2 .. :try_end_2} :catch_0

    goto :goto_1

    :catchall_0
    move-exception v0

    .line 17
    :try_start_3
    monitor-exit v1
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    :try_start_4
    throw v0
    :try_end_4
    .catch Ljava/lang/OutOfMemoryError; {:try_start_4 .. :try_end_4} :catch_0

    .line 18
    :catch_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->r(Lcom/estrongs/android/pop/app/diskusage/c;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Les/tp;

    new-instance v1, Lcom/estrongs/android/pop/app/diskusage/c$c$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/diskusage/c$c$b;-><init>(Lcom/estrongs/android/pop/app/diskusage/c$c;)V

    invoke-interface {v0, v1}, Les/tp;->a(Ljava/lang/Runnable;)V

    goto :goto_1

    .line 19
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/diskusage/c$c;->b:Lcom/estrongs/android/pop/app/diskusage/c;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/diskusage/c;->t(Lcom/estrongs/android/pop/app/diskusage/c;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Les/tp;

    new-instance v1, Lcom/estrongs/android/pop/app/diskusage/c$c$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/diskusage/c$c$c;-><init>(Lcom/estrongs/android/pop/app/diskusage/c$c;)V

    invoke-interface {v0, v1}, Les/tp;->a(Ljava/lang/Runnable;)V

    :goto_1
    return-void
.end method
